package com.jingdianjichi.subject.service;

import org.elasticsearch.client.indices.CreateIndexResponse;

public interface ElasticsearchService {

     CreateIndexResponse getEmployeeIndex(String indexName);

     void deleteEmployeeIndex(String indexName) ;

     void addEmployeeIndexDocument(String indexName, String id);

     void getEmployeeIndexDocument(String indexName, String id);

     void updateEmployeeIndexDocument(String indexName, String id);

     void deleteEmployeeIndexDocument(String indexName, String id);

    void addEmployeeIndexDocumentBatch(String indexName);

     void getEmployeeIndexDocumentAll(String indexName);
}
